<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>

	<!-- This code written by : Willie Wheeler and John Wheeler -->
	<!-- For 'Spring In Practice' [Book written by Willie Wheeler and John Wheeler] -->

<html>
	<head>
		<title>Home</title>
	</head>
	<body>
		<div>
			<a href="index.jsp">Home</a>
			<security:authorize ifAllGranted="ROLE_ADMIN">
				| <a href="#">Admin</a>
			</security:authorize>
			<security:authorize ifAllGranted="ROLE_ANONYMOUS">
				| <a href="spring_security_login">Login</a>
			</security:authorize>
			<security:authorize ifAnyGranted="ROLE_STUDENT,ROLE_ADMIN">
				| <a href="#">Student Lounge</a>
			</security:authorize>
			<security:authorize ifAnyGranted="ROLE_FACULTY,ROLE_ADMIN">
				| <a href="#">Faculty Lounge</a>
			</security:authorize>
			<security:authorize ifNotGranted="ROLE_ANONYMOUS">
				| <a href="#">Settings</a>
				| <a href="j_spring_security_logout">Logout</a>
			</security:authorize>
		</div>
		
		<h1>Home</h1>
		
		<p>Blah blah blah</p>
	</body>
</html>
